package cc.miwuya.complain.service;

import cc.miwuya.complain.domain.Complain;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 杩烽浘妫灄
* @description 针对表【complain(投诉表)】的数据库操作Service
* @createDate 2024-02-22 20:10:28
*/
public interface ComplainService extends IService<Complain> {

    Object getPage(Page page, String name, Long residentialId, List<Integer> role);

    Object getOwnerComplainList(Page page,Long residentialId, String name, Long userId);

    Object getComplainTotal();

    Object getWeekComplainTotal();
}
